<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript" src="test.js"><!--//--></script>
</head>
<body>

<script type="text/javascript">
    txt.replace(/\/\*\*([\s\S]+?)\*\/([\s\S]+?)[\{|;]/g, function(s, p1, p2, of) {
//        console.log(p1);
        console.log(p2);
    });
</script>

</body>
</html>